runtime.rwmutex.readerCount (field)
5 uses
runtime (current package)
rwmutex.go#L26: readerCount atomic.Int32 // number of pending readers
rwmutex.go#L39: if rw.readerCount.Add(1) < 0 {
rwmutex.go#L63: if r := rw.readerCount.Add(-1); r < 0 {
rwmutex.go#L87: r := rw.readerCount.Add(-rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L106: r := rw.readerCount.Add(rwmutexMaxReaders)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |